/**
 * @Title: Customer.java
 * @Description: TODO
 * @author mohan lau
 * @date 2021-05-06 08:08:06 
 */ 

package com.merchant.pojo;

import java.io.Serializable;
import java.util.List;

/**
 * @ClassName: User
 * @Description: 用户实体类
 * @author kxk
 * @date 2021-05-06 08:08:06
 */
public class User  implements Serializable {
	private static final long serialVersionUID = 1L;
	/**
	 * @Fields uid  TODO 用户编号
	 */
	private int uid;
	/**
	 * @Fields uname  TODO 用户真实姓名
	 */
	private String uname;
	/**
	 * @Fields unickname  TODO 用户昵称
	 */
	private String unickname;
	/**
	 * @Fields utel  TODO 用户电话
	 */
	private String utel;
	/**
	 * @Fields upass  TODO 用户密码
	 */
	private String upass;
	/**
	 * @Fields usex  TODO 用户性别
	 */
	private char usex;
	/**
	 * @Fields uage  TODO 用户年龄
	 */
	private int uage;
	/**
	 * @Fields uaddress  TODO 用户收货地址（集合）
	 */
	private String uaddress;
	/**
	 * @Fields uphoto TODO 用户头像
	 */
	private String uphoto;
	/**
	 * @Fields uredpacket  TODO  用户红包（集合）
	 */
	private List<String> uredpacket;
	
	
	public User() {
		super();
	}


	public User(int uid, String uname, String unickname, String utel, String upass, char usex, int uage, String uaddress, String uphoto, List<String> uredpacket) {
		this.uid = uid;
		this.uname = uname;
		this.unickname = unickname;
		this.utel = utel;
		this.upass = upass;
		this.usex = usex;
		this.uage = uage;
		this.uaddress = uaddress;
		this.uphoto = uphoto;
		this.uredpacket = uredpacket;
	}

	public int getUid() {
		return uid;
	}

	public void setUid(int uid) {
		this.uid = uid;
	}

	public String getUname() {
		return uname;
	}

	public void setUname(String uname) {
		this.uname = uname;
	}

	public String getUnickname() {
		return unickname;
	}

	public void setUnickname(String unickname) {
		this.unickname = unickname;
	}

	public String getUtel() {
		return utel;
	}

	public void setUtel(String utel) {
		this.utel = utel;
	}

	public String getUpass() {
		return upass;
	}

	public void setUpass(String upass) {
		this.upass = upass;
	}

	public char getUsex() {
		return usex;
	}

	public void setUsex(char usex) {
		this.usex = usex;
	}

	public int getUage() {
		return uage;
	}

	public void setUage(int uage) {
		this.uage = uage;
	}

	public String getUaddress() {
		return uaddress;
	}

	public void setUaddress(String uaddress) {
		this.uaddress = uaddress;
	}

	public String getUphoto() {
		return uphoto;
	}

	public void setUphoto(String uphoto) {
		this.uphoto = uphoto;
	}

	public List<String> getUredpacket() {
		return uredpacket;
	}

	public void setUredpacket(List<String> uredpacket) {
		this.uredpacket = uredpacket;
	}

	@Override
	public String toString() {
		return "User{" +
				"uid=" + uid +
				", uname='" + uname + '\'' +
				", unickname='" + unickname + '\'' +
				", utel='" + utel + '\'' +
				", upass='" + upass + '\'' +
				", usex=" + usex +
				", uage='" + uage + '\'' +
				", uaddress=" + uaddress +
				", uphoto='" + uphoto + '\'' +
				", uredpacket=" + uredpacket +
				'}';
	}

}
